#ifndef  __LED_H__
#define __LED_H__


#define LED_Off(x)       (x > 2 ? (GPIOB->ODR |= sbit(9+x)) : (GPIOB->ODR  |= sbit(7+x)))
#define LED_On(x)        (x > 2 ? (GPIOB->ODR &= ~sbit(9+x)) : (GPIOB->ODR &= ~sbit(7+x)))
#define LED_Tongle(x)    (x > 2 ? (GPIOB->ODR ^= sbit(9+x)) : (GPIOB->ODR ^= sbit(7+x)))
void led_init(void);


#endif

